Add missing case for which-key-show-prefix
authorjustbur <justin@burkett.cc>
Tue, 9 Feb 2016 16:32:20 +0000 (11:32 -0500)
committerjustbur <justin@burkett.cc>
Tue, 9 Feb 2016 16:32:20 +0000 (11:32 -0500)
nil is a valid value for this option.

which-key.el

index cf58bfc303be0aea4f251ea44d9b30df36bb204d..8934934c08244c19136e1f9de2852cbcecaa3a7d 100644 (file)
@@ -1702,7 +1702,8 @@ including prefix arguments."
        (cons page
              (concat full-prefix (when prefix-keys " ")
                      status-line (when status-line " ")
-                     nxt-pg-hint))))))
+                     nxt-pg-hint)))
+      (_ (cons page nil)))))
 
 (defun which-key--show-page (n)
   "Show page N, starting from 0."